/**
 *
 *  @auth xlx_good@qq.com
 *  @date 17/4/30.
 *
 */

const reg = {
  username: /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z_]{5,12}$/,
  pwd: /((?=.*\d)(?=.*\D)|(?=.*[a-zA-Z])(?=.*[^a-zA-Z]))^.{6,16}$/,
  phone:  /^(0|86|17951)?(1)[0-9]{10}$/
}

export default reg;
